package com.isdepci.project.factor.domain.param;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;


public class FactorItem {

    /** id */
    private Long id;

    //排放
    private BigDecimal emissions;

    //上游排放单位
    private String unit;

    //1上游排放  2下游排放
    private Integer type;

    public FactorItem(){}

    public FactorItem(Long id, BigDecimal emissions, String unit, Integer type) {
        this.id = id;
        this.emissions = emissions;
        this.unit = unit;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getEmissions() {
        return emissions;
    }

    public void setEmissions(BigDecimal emissions) {
        this.emissions = emissions;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
